package edu.zzuli.common;

/**
 * Created by Chen-D.W on 2018/1/7.
 */
public class TestMain {

    public static void main(String[] args) {

        Ticket syncThread = new Ticket();
        Thread thread1 = new Thread(syncThread, "SyncThread1");
        Thread thread2 = new Thread(syncThread, "SyncThread2");
        thread1.start();
        thread2.start();
    }
}
